/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-20 11:06:21
 * @LastEditors: CodeMe@126.com
 * @LastEditTime: 2021-04-21 09:36:55
 * @Author: CodeMe@126.com
 * @HomePage: https://CodeMe.gitee.io/vue3-element-admin
 * @Github: https://github.com/CodeMe/vue3-element-admin
 * @Donate: https://CodeMe.gitee.io/vue3-element-admin/donate/
 */
import ajax from '@/utils/ajax'

export default {
    // 获取定位
    locationApi(data) {
        return ajax({
            baseURL: '/api',
            url: '/ws/location/v1/ip',
            method: 'get',
            data
        })
    },
    suggestionApi(data) {
        return ajax({
            baseURL: '/api',
            url: '/ws/place/v1/suggestion',
            method: 'get',
            data
        })
    }
}
